<template>
  <div class="app-container">
    <DeliveryAddressEditDialog ref="deliveryAddressDialog" />
    <el-button type="primary" @click="test">地址测试</el-button>
    <PickAddressEditDialog ref="pickAddressDialog" />
    <el-divider direction="vertical" />
    <el-button type="primary" @click="test2">提货地址测试</el-button>
  </div>
</template>

<script>
import DeliveryAddressEditDialog from '@/components/DeliveryAddressEditDialog'
import PickAddressEditDialog from '@/components/PickAddressEditDialog'
export default {
  name: 'Dashboard',
  components: { DeliveryAddressEditDialog, PickAddressEditDialog },
  data() {
    return {}
  },
  methods: {
    test() {
      this.$refs.deliveryAddressDialog.updateShow()
    },
    test2() {
      this.$refs.pickAddressDialog.createShow()
    }
  }
}
</script>
